package demo.data.mqRedis.model;


import java.io.Serializable;


public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    private String userName;
    private String password;

    public User() {
    }

    public User(String password, String userName) {
        this.password = password;
        this.userName = userName;
    }


    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "User{" +
                "userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}